import Vue from 'vue'
import Vuex from 'vuex'
import {actions} from '../store/actions'
import {state,mutations,getters} from '../store/mutations'
import cate from './modules/cate'
import specs from './modules/specs'
import member from './modules/member'
import goods from './modules/goods'
import banner from './modules/banner'
import seckill from './modules/seckill'
Vue.use(Vuex)
export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    cate,
    specs,
    member,
    goods,
    banner,
    seckill
  },
})
